﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace HRProject.Code.DTO.Salary.Sale
{
    public class BLSuperMarket
    {
        private int orgId;

        public int OrgId
        {
            get { return orgId; }
            set { orgId = value; }
        }
        private int marketId;

        public int MarketId
        {
            get { return marketId; }
            set { marketId = value; }
        }
        private string orgName;

        public string OrgName
        {
            get { return orgName; }
            set { orgName = value; }
        }
        private string marketName;

        public string MarketName
        {
            get { return marketName; }
            set { marketName = value; }
        }

        public string FullName
        {
            get
            {
                string fullName = "";
                if (orgName != null)
                {
                    fullName += orgName;
                    fullName += " - ";
                }
                if (marketName != null)
                {
                    fullName += marketName;
                }
                return fullName;
            }
        }
    }
}
